<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">


<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title> API Reference Documentation
        - Module: formosa</title>
    <meta name="MSSmartTagsPreventParsing" content="true" />
    <meta http-equiv="imagetoolbar" content="no" />
    <link href="css/default.css" rel="stylesheet" type="text/css" />
    <link href="css/pygments.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="page">
        <div id="header">
            <h1> API Reference</h1>
        </div>
        <div id="browser">
            <div class="browser-section">
                <h2>Module Index</h2>
                <ul>
                    <li class="active">
                        <a href="formosa.html">formosa</a>
                    </li><li>
                        <a href="formosa.fields.html">formosa.fields</a>
                    </li><li>
                        <a href="formosa.validators.html">formosa.validators</a>
                    </li>
                </ul>
            </div>
            <div class="browser-section">
                <h2>Submodules</h2>
                <ul>
                    <li>
                        <a href="formosa.fields.html">fields</a>
                    </li><li>
                        <a href="formosa.validators.html">validators</a>
                    </li>
                </ul>
            </div>
            <div class="browser-section">
                <h2>Classes</h2>
                <ul>
                    <li>
                        <a href="formosa.ErrorSet.html">ErrorSet</a>
                    </li><li>
                        <a href="formosa.Form.html">Form</a>
                    </li><li>
                        <a href="formosa.FormosaException.html">FormosaException</a>
                    </li><li>
                        <a href="formosa.TranslationError.html">TranslationError</a>
                    </li><li>
                        <a href="formosa.ValidationError.html">ValidationError</a>
                    </li>
                </ul>
            </div>
        </div>
        <div id="content">
    <h1>Module: formosa</h1>
    <div class="docstring rst"><p>Processing of user input to Web applications.</p>
<p>Because the Web is not a trusted environment, all input is considered tainted.
Further, as HTTP is a simple protocol, only one type of data may be given as
input: strings.  It is the job of this module to enable applications to assert
that input is well-formed and valid, and to translate it to native Python
values.</p>
</div>
    <ul class="link-bar">
    <li class="top"><a href="#header">Top</a></li>
</ul>
    <div>
        <h2>Modules</h2>
            <h3>
                <a href="formosa.fields.html">fields</a>
            </h3>
            <div class="docstring rst"><p>Translation of raw user input into validated Python values.</p></div>
            <ul class="link-bar">
    <li class="top"><a href="#header">Top</a></li>
    <li>
        <a href="formosa.fields.html">Details</a>
    </li>
</ul>
            <h3>
                <a href="formosa.validators.html">validators</a>
            </h3>
            <div class="docstring rst"><p>Higher-level constraints on mappings of translated user input.</p></div>
            <ul class="link-bar">
    <li class="top"><a href="#header">Top</a></li>
    <li>
        <a href="formosa.validators.html">Details</a>
    </li>
</ul>
    </div>
    <div>
        <h2>Classes</h2>
            <h3>
                <a href="formosa.ErrorSet.html">ErrorSet</a>
            </h3>
            <div class="docstring rst"><p>Exception for failed translation of user input.</p></div>
            <ul class="link-bar">
    <li class="top"><a href="#header">Top</a></li>
    <li>
        <a href="formosa.ErrorSet.html">Details</a>
    </li>
</ul>
            <h3>
                <a href="formosa.Form.html">Form</a>
            </h3>
            <div class="docstring rst"><p>Translator of user input into Python values.</p></div>
            <ul class="link-bar">
    <li class="top"><a href="#header">Top</a></li>
    <li>
        <a href="formosa.Form.html">Details</a>
    </li>
</ul>
            <h3>
                <a href="formosa.FormosaException.html">FormosaException</a>
            </h3>
            <div class="docstring rst"><p>Base class for Formosa exceptions.</p></div>
            <ul class="link-bar">
    <li class="top"><a href="#header">Top</a></li>
    <li>
        <a href="formosa.FormosaException.html">Details</a>
    </li>
</ul>
            <h3>
                <a href="formosa.TranslationError.html">TranslationError</a>
            </h3>
            <div class="docstring rst"><p>Exception for when translation of a field fails.</p></div>
            <ul class="link-bar">
    <li class="top"><a href="#header">Top</a></li>
    <li>
        <a href="formosa.TranslationError.html">Details</a>
    </li>
</ul>
            <h3>
                <a href="formosa.ValidationError.html">ValidationError</a>
            </h3>
            <div class="docstring rst"><p>Exception raised when a higher-level validation constraint fails.</p></div>
            <ul class="link-bar">
    <li class="top"><a href="#header">Top</a></li>
    <li>
        <a href="formosa.ValidationError.html">Details</a>
    </li>
</ul>
    </div>
        </div>
        <div id="footer">
            Generated with <a href="http://apydia.ematia.de/" class="extern">
            Apydia 0.0.2</a> on 2008-11-26 11:09
        </div>
    </div>
</body>
</html>